package me.zhengjie.domain;

import lombok.RequiredArgsConstructor;
import me.zhengjie.dto.sqlServer.Processcard;
import me.zhengjie.repository.ProcesscardRepository;
import org.springframework.stereotype.Component;

@Component
@RequiredArgsConstructor
public class ProcesscardService {

    private final ProcesscardRepository processcardRepository;

    public Processcard findProcesscardById(int id) {
        return processcardRepository.findProcesscardById(id);
    }
}
